export type Cellype = 'tag' | 'switch' | 'span' | 'icon'

export class OptionsType {
  label: string
  value?: string | number | boolean
  value2?: string | number | boolean
  type: Cellype
  color?: string
  isPlain?: boolean
  icon?: string
  constructor(
    label: string,
    value: string | number | boolean,
    type: Cellype,
    value2?: string | number | boolean,
    color?: string,
    isPlain: boolean = false,
    icon?: string,
  ) {
    this.label = label
    this.value = value
    this.type = type
    this.value2 = value2
    this.color = color
    this.isPlain = isPlain
    this.icon = icon
  }
}
export type OptionsArrayType = Array<OptionsType>
export type OptionsData = Array<OptionsType | OptionsArrayType>
